home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1995-07-27 | 5.5 KB | [TEXT/CWIE] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: GrabSlotDrivers.c
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Compact Compressed (Unix) (archive/compact)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Thu Jul 27 01:57:46 1995, modified Thu Jul 27 01:57:46 1995, creator 'CWIE', type ASCII, 4808 bytes "GrabSlotDrivers.c" , at 0x1348 552 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [CWIE] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 11 47 72 61 62 53 6c | 6f 74 44 72 69 76 65 72 |..GrabSl|otDriver|
|00000010| 73 2e 63 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |s.c.....|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 01 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 12 c8 00 | 00 02 28 ac 3c db 5a ac |........|..(.<.Z.|
|00000060| 3c db 5a 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |<.Z.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 6a 94 00 00 |........|....j...|
|00000080| 2f 2a 20 47 72 61 62 53 | 6c 6f 74 44 72 69 76 65 |/* GrabS|lotDrive|
|00000090| 72 73 2e 63 0d 52 65 70 | 65 61 74 65 64 6c 79 20 |rs.c.Rep|eatedly |
|000000a0| 63 61 6c 6c 73 20 74 68 | 65 20 53 6c 6f 74 20 4d |calls th|e Slot M|
|000000b0| 61 6e 61 67 65 72 20 74 | 6f 20 67 65 74 20 65 76 |anager t|o get ev|
|000000c0| 65 72 79 20 73 6c 6f 74 | 20 64 72 69 76 65 72 20 |ery slot| driver |
|000000d0| 61 6e 64 20 70 75 74 73 | 20 65 61 63 68 20 69 6e |and puts| each in|
|000000e0| 20 69 74 73 0d 6f 77 6e | 20 66 69 6c 65 2e 20 54 | its.own| file. T|
|000000f0| 68 65 73 65 20 66 69 6c | 65 73 20 63 61 6e 20 74 |hese fil|es can t|
|00000100| 68 65 6e 20 62 65 20 70 | 65 72 75 73 65 64 20 77 |hen be p|erused w|
|00000110| 69 74 68 20 74 68 65 20 | 52 65 73 45 64 69 74 20 |ith the |ResEdit |
|00000120| 43 4f 44 45 20 76 69 65 | 77 65 72 2e 20 0d 0d 54 |CODE vie|wer. ..T|
|00000130| 68 65 20 52 65 73 45 64 | 69 74 20 43 4f 44 45 20 |he ResEd|it CODE |
|00000140| 76 69 65 77 65 72 20 69 | 73 20 61 20 70 75 62 6c |viewer i|s a publ|
|00000150| 69 63 20 64 6f 6d 61 69 | 6e 20 66 69 6c 65 2c 20 |ic domai|n file, |
|00000160| 66 6f 72 20 75 73 65 20 | 77 69 74 68 20 52 65 73 |for use |with Res|
|00000170| 45 64 69 74 2c 20 64 69 | 73 74 72 69 62 75 74 65 |Edit, di|stribute|
|00000180| 64 20 62 79 3a 0d 49 72 | 61 20 4c 2e 20 52 75 62 |d by:.Ir|a L. Rub|
|00000190| 65 6e 0d 41 70 70 6c 65 | 20 43 6f 6d 70 75 74 65 |en.Apple| Compute|
|000001a0| 72 2c 20 49 6e 63 2e 0d | 32 30 35 32 35 20 4d 61 |r, Inc..|20525 Ma|
|000001b0| 72 69 61 6e 69 20 41 76 | 65 2e 2c 20 4d 53 3a 20 |riani Av|e., MS: |
|000001c0| 33 37 2d 41 0d 43 75 70 | 65 72 74 69 6e 6f 2c 20 |37-A.Cup|ertino, |
|000001d0| 43 61 2e 20 39 35 30 31 | 34 0d 49 72 61 40 41 70 |Ca. 9501|4.Ira@Ap|
|000001e0| 70 6c 65 2e 43 6f 6d 0d | 66 74 70 3a 2f 2f 66 74 |ple.Com.|ftp://ft|
|000001f0| 70 2e 61 70 70 6c 65 2e | 63 6f 6d 2f 64 74 73 2f |p.apple.|com/dts/|
|00000200| 6d 61 63 2f 74 6f 6f 6c | 73 2f 72 65 73 65 64 69 |mac/tool|s/resedi|
|00000210| 74 2f 0d 0d 4e 6f 74 65 | 20 74 68 61 74 20 47 72 |t/..Note| that Gr|
|00000220| 61 62 53 6c 6f 74 44 72 | 69 76 65 72 73 20 67 65 |abSlotDr|ivers ge|
|00000230| 74 73 20 74 68 65 20 64 | 72 69 76 65 72 20 64 69 |ts the d|river di|
|00000240| 72 65 63 74 6c 79 20 66 | 72 6f 6d 20 74 68 65 20 |rectly f|rom the |
|00000250| 63 61 72 64 27 73 20 63 | 6f 6e 66 69 67 75 72 61 |card's c|onfigura|
|00000260| 74 69 6f 6e 0d 52 4f 4d | 2c 20 77 68 65 72 65 61 |tion.ROM|, wherea|
|00000270| 73 20 69 74 20 69 73 20 | 70 6f 73 73 69 62 6c 65 |s it is |possible|
|00000280| 20 74 68 61 74 20 79 6f | 75 72 20 72 75 6e 2d 74 | that yo|ur run-t|
|00000290| 69 6d 65 20 53 79 73 74 | 65 6d 20 69 73 20 61 63 |ime Syst|em is ac|
|000002a0| 74 75 61 6c 6c 79 20 73 | 75 70 65 72 63 65 64 69 |tually s|upercedi|
|000002b0| 6e 67 0d 74 68 61 74 20 | 62 79 20 61 20 6c 61 74 |ng.that |by a lat|
|000002c0| 65 72 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 74 68 |er versi|on of th|
|000002d0| 65 20 64 72 69 76 65 72 | 20 6c 6f 61 64 65 64 20 |e driver| loaded |
|000002e0| 66 72 6f 6d 20 74 68 65 | 20 53 79 73 74 65 6d 20 |from the| System |
|000002f0| 66 69 6c 65 20 6f 72 20 | 62 79 20 61 6e 20 49 4e |file or |by an IN|
|00000300| 49 54 2e 0d 49 66 20 79 | 6f 75 20 77 61 6e 74 20 |IT..If y|ou want |
|00000310| 74 68 65 20 61 63 74 69 | 76 65 20 76 65 72 73 69 |the acti|ve versi|
|00000320| 6f 6e 20 6f 66 20 74 68 | 65 20 64 72 69 76 65 72 |on of th|e driver|
|00000330| 20 69 74 20 77 6f 75 6c | 64 20 62 65 20 62 65 73 | it woul|d be bes|
|00000340| 74 20 74 6f 20 67 65 74 | 20 69 74 20 66 72 6f 6d |t to get| it from|
|00000350| 20 74 68 65 0d 64 65 76 | 69 63 65 20 6d 61 6e 61 | the.dev|ice mana|
|00000360| 67 65 72 2c 20 77 68 69 | 63 68 20 69 73 20 77 68 |ger, whi|ch is wh|
|00000370| 61 74 20 47 72 61 62 56 | 69 64 65 6f 44 72 69 76 |at GrabV|ideoDriv|
|00000380| 65 72 73 2e 63 20 64 6f | 65 73 2c 20 74 68 6f 75 |ers.c do|es, thou|
|00000390| 67 68 20 69 74 20 73 6b | 69 70 73 20 6e 6f 6e 2d |gh it sk|ips non-|
|000003a0| 76 69 64 65 6f 0d 64 65 | 76 69 63 65 73 2e 0d 0d |video.de|vices...|
|000003b0| 48 49 53 54 4f 52 59 3a | 0d 32 2f 38 39 20 64 67 |HISTORY:|.2/89 dg|
|000003c0| 70 20 57 72 6f 74 65 20 | 69 74 20 61 73 20 22 76 |p Wrote |it as "v|
|000003d0| 69 64 65 6f 20 68 61 63 | 6b 65 72 20 49 49 22 20 |ideo hac|ker II" |
|000003e0| 75 73 69 6e 67 20 54 48 | 49 4e 4b 20 43 20 33 2e |using TH|INK C 3.|
|000003f0| 0d 31 2f 33 2f 39 33 20 | 64 67 70 20 75 70 64 61 |.1/3/93 |dgp upda|
|00000400| 74 65 64 20 69 74 20 74 | 6f 20 54 48 49 4e 4b 20 |ted it t|o THINK |
|00000410| 43 20 35 20 61 6e 64 20 | 72 65 6e 61 6d 65 64 20 |C 5 and |renamed |
|00000420| 69 74 20 47 72 61 62 53 | 6c 6f 74 44 72 69 76 65 |it GrabS|lotDrive|
|00000430| 72 73 2e 63 0d 35 2f 31 | 31 2f 39 33 09 64 67 70 |rs.c.5/1|1/93.dgp|
|00000440| 09 61 64 64 65 64 20 63 | 68 65 63 6b 20 66 6f 72 |.added c|heck for|
|00000450| 20 53 6c 6f 74 20 4d 61 | 6e 61 67 65 72 2c 20 69 | Slot Ma|nager, i|
|00000460| 6e 20 72 65 73 70 6f 6e | 73 65 20 74 6f 20 62 75 |n respon|se to bu|
|00000470| 67 20 72 65 70 6f 72 74 | 20 62 79 20 4a 6f 6e 61 |g report| by Jona|
|00000480| 74 68 61 6e 20 42 72 65 | 63 68 65 72 2e 0d 37 2f |than Bre|cher..7/|
|00000490| 32 39 2f 39 34 20 64 67 | 70 20 45 6c 69 6d 69 6e |29/94 dg|p Elimin|
|000004a0| 61 74 65 64 20 75 73 65 | 20 6f 66 20 22 23 73 22 |ated use| of "#s"|
|000004b0| 20 70 72 69 6e 74 66 20 | 66 6f 72 6d 61 74 2c 20 | printf |format, |
|000004c0| 73 69 6e 63 65 20 69 74 | 27 73 20 6e 6f 74 20 73 |since it|'s not s|
|000004d0| 75 70 70 6f 72 74 65 64 | 20 62 79 0d 09 09 09 4d |upported| by....M|
|000004e0| 65 74 72 6f 77 65 72 6b | 73 20 43 6f 64 65 57 61 |etrowerk|s CodeWa|
|000004f0| 72 72 69 6f 72 20 43 2e | 0d 39 2f 35 2f 39 34 20 |rrior C.|.9/5/94 |
|00000500| 64 67 70 20 72 65 6d 6f | 76 65 64 20 61 73 73 75 |dgp remo|ved assu|
|00000510| 6d 70 74 69 6f 6e 20 69 | 6e 20 70 72 69 6e 74 66 |mption i|n printf|
|00000520| 27 73 20 74 68 61 74 20 | 69 6e 74 3d 3d 73 68 6f |'s that |int==sho|
|00000530| 72 74 2e 0d 36 2f 38 2f | 39 35 20 64 67 70 20 4d |rt..6/8/|95 dgp M|
|00000540| 61 64 65 20 73 75 72 65 | 20 74 68 61 74 20 4d 61 |ade sure| that Ma|
|00000550| 63 20 73 74 72 75 63 74 | 73 20 61 72 65 20 61 6c |c struct|s are al|
|00000560| 77 61 79 73 20 36 38 6b | 20 61 6c 69 67 6e 65 64 |ways 68k| aligned|
|00000570| 2e 0d 2a 2f 0d 23 69 6e | 63 6c 75 64 65 20 22 56 |..*/.#in|clude "V|
|00000580| 69 64 65 6f 54 6f 6f 6c | 62 6f 78 2e 68 22 0d 2f |ideoTool|box.h"./|
|00000590| 2f 23 69 6e 63 6c 75 64 | 65 20 3c 45 72 72 6f 72 |/#includ|e <Error|
|000005a0| 73 2e 68 3e 0d 2f 2f 23 | 69 6e 63 6c 75 64 65 20 |s.h>.//#|include |
|000005b0| 3c 52 65 73 6f 75 72 63 | 65 73 2e 68 3e 0d 23 69 |<Resourc|es.h>.#i|
|000005c0| 66 6e 64 65 66 20 5f 5f | 54 52 41 50 53 5f 5f 0d |fndef __|TRAPS__.|
|000005d0| 09 23 69 6e 63 6c 75 64 | 65 20 3c 54 72 61 70 73 |.#includ|e <Traps|
|000005e0| 2e 68 3e 0d 23 65 6e 64 | 69 66 0d 23 69 6e 63 6c |.h>.#end|if.#incl|
|000005f0| 75 64 65 20 3c 52 4f 4d | 44 65 66 73 2e 68 3e 0d |ude <ROM|Defs.h>.|
|00000600| 2f 2f 23 69 6e 63 6c 75 | 64 65 20 3c 56 69 64 65 |//#inclu|de <Vide|
|00000610| 6f 2e 68 3e 0d 0d 23 69 | 66 20 50 52 41 47 4d 41 |o.h>..#i|f PRAGMA|
|00000620| 5f 41 4c 49 47 4e 5f 53 | 55 50 50 4f 52 54 45 44 |_ALIGN_S|UPPORTED|
|00000630| 20 7c 7c 20 5f 5f 4d 57 | 45 52 4b 53 5f 5f 0d 09 | || __MW|ERKS__..|
|00000640| 23 70 72 61 67 6d 61 20 | 6f 70 74 69 6f 6e 73 20 |#pragma |options |
|00000650| 61 6c 69 67 6e 3d 6d 61 | 63 36 38 6b 0d 23 65 6e |align=ma|c68k.#en|
|00000660| 64 69 66 0d 0d 74 79 70 | 65 64 65 66 20 73 74 72 |dif..typ|edef str|
|00000670| 75 63 74 20 7b 0d 09 73 | 68 6f 72 74 20 66 6c 61 |uct {..s|hort fla|
|00000680| 67 73 3b 0d 09 73 68 6f | 72 74 20 62 6c 61 6e 6b |gs;..sho|rt blank|
|00000690| 73 5b 33 5d 3b 0d 09 73 | 68 6f 72 74 20 6f 70 65 |s[3];..s|hort ope|
|000006a0| 6e 3b 0d 09 73 68 6f 72 | 74 20 70 72 69 6d 65 3b |n;..shor|t prime;|
|000006b0| 0d 09 73 68 6f 72 74 20 | 63 6f 6e 74 72 6f 6c 3b |..short |control;|
|000006c0| 0d 09 73 68 6f 72 74 20 | 73 74 61 74 75 73 3b 0d |..short |status;.|
|000006d0| 09 73 68 6f 72 74 20 63 | 6c 6f 73 65 3b 0d 09 53 |.short c|lose;..S|
|000006e0| 74 72 32 35 35 20 6e 61 | 6d 65 3b 0d 7d 20 56 69 |tr255 na|me;.} Vi|
|000006f0| 64 65 6f 44 72 69 76 65 | 72 3b 0d 0d 23 69 66 20 |deoDrive|r;..#if |
|00000700| 50 52 41 47 4d 41 5f 41 | 4c 49 47 4e 5f 53 55 50 |PRAGMA_A|LIGN_SUP|
|00000710| 50 4f 52 54 45 44 20 7c | 7c 20 5f 5f 4d 57 45 52 |PORTED ||| __MWER|
|00000720| 4b 53 5f 5f 0d 09 23 70 | 72 61 67 6d 61 20 6f 70 |KS__..#p|ragma op|
|00000730| 74 69 6f 6e 73 20 61 6c | 69 67 6e 3d 72 65 73 65 |tions al|ign=rese|
|00000740| 74 0d 23 65 6e 64 69 66 | 0d 0d 76 6f 69 64 20 41 |t.#endif|..void A|
|00000750| 64 64 52 65 73 6f 75 72 | 63 65 54 6f 46 69 6c 65 |ddResour|ceToFile|
|00000760| 28 75 6e 73 69 67 6e 65 | 64 20 63 68 61 72 20 2a |(unsigne|d char *|
|00000770| 66 69 6c 65 6e 61 6d 65 | 2c 75 6e 73 69 67 6e 65 |filename|,unsigne|
|00000780| 64 20 63 68 61 72 20 2a | 6e 61 6d 65 2c 52 65 73 |d char *|name,Res|
|00000790| 54 79 70 65 20 74 79 70 | 65 2c 69 6e 74 20 69 64 |Type typ|e,int id|
|000007a0| 0d 09 2c 48 61 6e 64 6c | 65 20 68 61 6e 64 6c 65 |..,Handl|e handle|
|000007b0| 29 3b 0d 76 6f 69 64 20 | 47 72 61 62 53 6c 6f 74 |);.void |GrabSlot|
|000007c0| 44 72 69 76 65 72 73 28 | 76 6f 69 64 29 3b 0d 0d |Drivers(|void);..|
|000007d0| 76 6f 69 64 20 6d 61 69 | 6e 28 76 6f 69 64 29 0d |void mai|n(void).|
|000007e0| 7b 0d 09 52 65 71 75 69 | 72 65 28 30 29 3b 0d 09 |{..Requi|re(0);..|
|000007f0| 69 66 28 21 54 72 61 70 | 41 76 61 69 6c 61 62 6c |if(!Trap|Availabl|
|00000800| 65 28 5f 53 6c 6f 74 4d | 61 6e 61 67 65 72 29 29 |e(_SlotM|anager))|
|00000810| 0d 09 09 50 72 69 6e 74 | 66 45 78 69 74 28 22 53 |...Print|fExit("S|
|00000820| 6f 72 72 79 2c 20 6e 6f | 20 53 6c 6f 74 20 4d 61 |orry, no| Slot Ma|
|00000830| 6e 61 67 65 72 2e 5c 6e | 22 29 3b 0d 09 4d 61 78 |nager.\n|");..Max|
|00000840| 69 6d 69 7a 65 43 6f 6e | 73 6f 6c 65 48 65 69 67 |imizeCon|soleHeig|
|00000850| 68 74 28 29 3b 0d 09 70 | 72 69 6e 74 66 28 42 72 |ht();..p|rintf(Br|
|00000860| 65 61 6b 4c 69 6e 65 73 | 28 22 57 65 6c 63 6f 6d |eakLines|("Welcom|
|00000870| 65 20 74 6f 20 47 72 61 | 62 53 6c 6f 74 44 72 69 |e to Gra|bSlotDri|
|00000880| 76 65 72 73 2e 5c 6e 22 | 0d 09 22 54 68 69 73 20 |vers.\n"|.."This |
|00000890| 70 72 6f 67 72 61 6d 73 | 20 63 6f 70 69 65 73 20 |programs| copies |
|000008a0| 61 6c 6c 20 64 72 69 76 | 65 72 73 20 66 72 6f 6d |all driv|ers from|
|000008b0| 20 79 6f 75 72 20 73 6c | 6f 74 20 64 65 76 69 63 | your sl|ot devic|
|000008c0| 65 73 2e 20 22 0d 09 22 | 4e 6f 74 65 20 74 68 61 |es. ".."|Note tha|
|000008d0| 74 20 74 68 69 73 20 67 | 65 74 73 20 74 68 65 20 |t this g|ets the |
|000008e0| 64 72 69 76 65 72 20 66 | 72 6f 6d 20 74 68 65 20 |driver f|rom the |
|000008f0| 63 61 72 64 27 73 20 63 | 6f 6e 66 69 67 75 72 61 |card's c|onfigura|
|00000900| 74 69 6f 6e 20 52 4f 4d | 2c 20 77 68 65 72 65 61 |tion ROM|, wherea|
|00000910| 73 20 22 0d 09 22 69 74 | 20 69 73 20 70 6f 73 73 |s ".."it| is poss|
|00000920| 69 62 6c 65 20 74 68 61 | 74 20 61 74 20 72 75 6e |ible tha|t at run|
|00000930| 2d 74 69 6d 65 20 79 6f | 75 72 20 53 79 73 74 65 |-time yo|ur Syste|
|00000940| 6d 20 72 65 70 6c 61 63 | 65 73 20 22 0d 09 22 74 |m replac|es ".."t|
|00000950| 68 61 74 20 62 79 20 61 | 20 6c 61 74 65 72 20 76 |hat by a| later v|
|00000960| 65 72 73 69 6f 6e 20 6f | 66 20 74 68 65 20 64 72 |ersion o|f the dr|
|00000970| 69 76 65 72 20 6c 6f 61 | 64 65 64 20 66 72 6f 6d |iver loa|ded from|
|00000980| 20 74 68 65 20 53 79 73 | 74 65 6d 20 66 69 6c 65 | the Sys|tem file|
|00000990| 20 6f 72 20 49 4e 49 54 | 2e 5c 6e 5c 6e 22 2c 37 | or INIT|.\n\n",7|
|000009a0| 38 29 29 3b 0d 09 47 72 | 61 62 53 6c 6f 74 44 72 |8));..Gr|abSlotDr|
|000009b0| 69 76 65 72 73 28 29 3b | 0d 7d 0d 0d 76 6f 69 64 |ivers();|.}..void|
|000009c0| 20 47 72 61 62 53 6c 6f | 74 44 72 69 76 65 72 73 | GrabSlo|tDrivers|
|000009d0| 28 76 6f 69 64 29 0d 7b | 0d 09 53 70 42 6c 6f 63 |(void).{|..SpBloc|
|000009e0| 6b 20 73 70 42 6c 6f 63 | 6b 3b 0d 09 53 45 42 6c |k spBloc|k;..SEBl|
|000009f0| 6f 63 6b 20 73 45 42 6c | 6f 63 6b 3b 0d 09 75 6e |ock sEBl|ock;..un|
|00000a00| 73 69 67 6e 65 64 20 63 | 68 61 72 20 6e 61 6d 65 |signed c|har name|
|00000a10| 5b 32 35 36 5d 2c 66 69 | 6c 65 6e 61 6d 65 5b 33 |[256],fi|lename[3|
|00000a20| 32 5d 3b 0d 09 69 6e 74 | 20 65 72 72 6f 72 2c 76 |2];..int| error,v|
|00000a30| 65 72 73 69 6f 6e 3b 0d | 09 50 74 72 20 2a 68 61 |ersion;.|.Ptr *ha|
|00000a40| 6e 64 6c 65 3b 0d 09 56 | 69 64 65 6f 44 72 69 76 |ndle;..V|ideoDriv|
|00000a50| 65 72 20 2a 76 69 64 65 | 6f 44 72 69 76 65 72 50 |er *vide|oDriverP|
|00000a60| 74 72 3b 0d 09 75 6e 73 | 69 67 6e 65 64 20 63 68 |tr;..uns|igned ch|
|00000a70| 61 72 20 2a 62 79 74 65 | 50 74 72 3b 0d 09 42 6f |ar *byte|Ptr;..Bo|
|00000a80| 6f 6c 65 61 6e 20 6e 65 | 77 53 6c 6f 74 4d 67 72 |olean ne|wSlotMgr|
|00000a90| 3b 09 2f 2f 20 53 47 65 | 74 54 79 70 65 53 52 73 |;.// SGe|tTypeSRs|
|00000aa0| 72 63 20 72 65 71 75 69 | 72 65 73 20 73 79 73 74 |rc requi|res syst|
|00000ab0| 65 6d 20 37 20 73 6c 6f | 74 20 6d 61 6e 61 67 65 |em 7 slo|t manage|
|00000ac0| 72 0d 0d 09 6e 65 77 53 | 6c 6f 74 4d 67 72 3d 28 |r...newS|lotMgr=(|
|00000ad0| 53 56 65 72 73 69 6f 6e | 28 26 73 70 42 6c 6f 63 |SVersion|(&spBloc|
|00000ae0| 6b 29 3d 3d 6e 6f 45 72 | 72 29 3b 0d 09 73 70 42 |k)==noEr|r);..spB|
|00000af0| 6c 6f 63 6b 2e 73 70 73 | 45 78 65 63 50 42 6c 6b |lock.sps|ExecPBlk|
|00000b00| 20 3d 20 28 50 74 72 29 | 20 26 73 45 42 6c 6f 63 | = (Ptr)| &sEBloc|
|00000b10| 6b 3b 0d 09 73 70 42 6c | 6f 63 6b 2e 73 70 53 6c |k;..spBl|ock.spSl|
|00000b20| 6f 74 20 3d 20 30 3b 0d | 09 73 70 42 6c 6f 63 6b |ot = 0;.|.spBlock|
|00000b30| 2e 73 70 49 44 20 3d 20 | 30 3b 0d 09 73 70 42 6c |.spID = |0;..spBl|
|00000b40| 6f 63 6b 2e 73 70 45 78 | 74 44 65 76 20 3d 20 30 |ock.spEx|tDev = 0|
|00000b50| 3b 0d 2f 2a 0d 09 73 70 | 42 6c 6f 63 6b 2e 73 70 |;./*..sp|Block.sp|
|00000b60| 43 61 74 65 67 6f 72 79 | 3d 63 61 74 44 69 73 70 |Category|=catDisp|
|00000b70| 6c 61 79 3b 0d 09 73 70 | 42 6c 6f 63 6b 2e 73 70 |lay;..sp|Block.sp|
|00000b80| 43 54 79 70 65 3d 30 3b | 0d 09 73 70 42 6c 6f 63 |CType=0;|..spBloc|
|00000b90| 6b 2e 73 70 44 72 76 72 | 53 57 3d 30 3b 0d 09 73 |k.spDrvr|SW=0;..s|
|00000ba0| 70 42 6c 6f 63 6b 2e 73 | 70 44 72 76 72 48 57 3d |pBlock.s|pDrvrHW=|
|00000bb0| 30 3b 0d 09 73 70 42 6c | 6f 63 6b 2e 73 70 54 42 |0;..spBl|ock.spTB|
|00000bc0| 4d 61 73 6b 3d 33 3b 09 | 2f 2f 20 69 67 6e 6f 72 |Mask=3;.|// ignor|
|00000bd0| 65 20 44 72 76 72 48 57 | 20 61 6e 64 20 44 72 76 |e DrvrHW| and Drv|
|00000be0| 72 53 57 0d 2a 2f 0d 09 | 77 68 69 6c 65 28 31 29 |rSW.*/..|while(1)|
|00000bf0| 7b 0d 09 09 73 70 42 6c | 6f 63 6b 2e 73 70 50 61 |{...spBl|ock.spPa|
|00000c00| 72 61 6d 44 61 74 61 3d | 35 3b 09 2f 2f 20 6e 65 |ramData=|5;.// ne|
|00000c10| 78 74 20 72 65 73 6f 75 | 72 63 65 2c 20 77 68 65 |xt resou|rce, whe|
|00000c20| 74 68 65 72 20 65 6e 61 | 62 6c 65 64 20 26 20 64 |ther ena|bled & d|
|00000c30| 69 73 61 62 6c 65 64 0d | 09 09 69 66 28 6e 65 77 |isabled.|..if(new|
|00000c40| 53 6c 6f 74 4d 67 72 29 | 65 72 72 6f 72 3d 53 47 |SlotMgr)|error=SG|
|00000c50| 65 74 53 52 73 72 63 28 | 26 73 70 42 6c 6f 63 6b |etSRsrc(|&spBlock|
|00000c60| 29 3b 0d 09 09 65 6c 73 | 65 20 65 72 72 6f 72 3d |);...els|e error=|
|00000c70| 53 4e 65 78 74 53 52 73 | 72 63 28 26 73 70 42 6c |SNextSRs|rc(&spBl|
|00000c80| 6f 63 6b 29 3b 0d 09 09 | 69 66 28 65 72 72 6f 72 |ock);...|if(error|
|00000c90| 3d 3d 73 6d 4e 6f 4d 6f | 72 65 73 52 73 72 63 73 |==smNoMo|resRsrcs|
|00000ca0| 29 20 62 72 65 61 6b 3b | 0d 09 09 69 66 28 65 72 |) break;|...if(er|
|00000cb0| 72 6f 72 29 7b 0d 09 09 | 09 70 72 69 6e 74 66 28 |ror){...|.printf(|
|00000cc0| 22 53 4e 65 78 74 53 52 | 73 72 63 2f 53 47 65 74 |"SNextSR|src/SGet|
|00000cd0| 53 52 73 72 63 20 65 72 | 72 6f 72 20 25 64 5c 6e |SRsrc er|ror %d\n|
|00000ce0| 22 2c 65 72 72 6f 72 29 | 3b 0d 09 09 09 62 72 65 |",error)|;....bre|
|00000cf0| 61 6b 3b 0d 09 09 7d 0d | 09 09 73 70 42 6c 6f 63 |ak;...}.|..spBloc|
|00000d00| 6b 2e 73 70 52 65 73 75 | 6c 74 20 3d 20 28 75 6e |k.spResu|lt = (un|
|00000d10| 73 69 67 6e 65 64 20 6c | 6f 6e 67 29 20 26 6e 61 |signed l|ong) &na|
|00000d20| 6d 65 3b 0d 09 09 65 72 | 72 6f 72 20 3d 20 53 52 |me;...er|ror = SR|
|00000d30| 65 61 64 44 72 76 72 4e | 61 6d 65 28 26 73 70 42 |eadDrvrN|ame(&spB|
|00000d40| 6c 6f 63 6b 29 3b 0d 09 | 09 70 32 63 73 74 72 28 |lock);..|.p2cstr(|
|00000d50| 6e 61 6d 65 29 3b 0d 09 | 09 70 72 69 6e 74 66 28 |name);..|.printf(|
|00000d60| 22 53 52 65 61 64 44 72 | 76 72 4e 61 6d 65 3d 25 |"SReadDr|vrName=%|
|00000d70| 73 5c 6e 22 2c 6e 61 6d | 65 29 3b 0d 09 09 63 32 |s\n",nam|e);...c2|
|00000d80| 70 73 74 72 28 28 63 68 | 61 72 20 2a 29 6e 61 6d |pstr((ch|ar *)nam|
|00000d90| 65 29 3b 0d 09 09 70 72 | 69 6e 74 66 28 22 73 70 |e);...pr|intf("sp|
|00000da0| 53 6c 6f 74 3d 25 64 2c | 73 70 49 44 3d 25 75 2c |Slot=%d,|spID=%u,|
|00000db0| 73 70 45 78 74 44 65 76 | 3d 25 64 22 0d 09 09 09 |spExtDev|=%d"....|
|00000dc0| 2c 28 69 6e 74 29 73 70 | 42 6c 6f 63 6b 2e 73 70 |,(int)sp|Block.sp|
|00000dd0| 53 6c 6f 74 2c 28 75 6e | 73 69 67 6e 65 64 20 69 |Slot,(un|signed i|
|00000de0| 6e 74 29 73 70 42 6c 6f | 63 6b 2e 73 70 49 44 2c |nt)spBlo|ck.spID,|
|00000df0| 28 69 6e 74 29 73 70 42 | 6c 6f 63 6b 2e 73 70 45 |(int)spB|lock.spE|
|00000e00| 78 74 44 65 76 29 3b 0d | 09 09 70 72 69 6e 74 66 |xtDev);.|..printf|
|00000e10| 28 22 2c 73 70 43 61 74 | 65 67 6f 72 79 3d 25 64 |(",spCat|egory=%d|
|00000e20| 2c 73 70 43 54 79 70 65 | 3d 25 64 2c 73 70 44 72 |,spCType|=%d,spDr|
|00000e30| 76 72 53 57 3d 25 64 2c | 73 70 44 72 76 72 48 57 |vrSW=%d,|spDrvrHW|
|00000e40| 3d 25 64 2c 73 70 52 65 | 66 4e 75 6d 3d 25 64 5c |=%d,spRe|fNum=%d\|
|00000e50| 6e 22 0d 09 09 09 2c 28 | 69 6e 74 29 73 70 42 6c |n"....,(|int)spBl|
|00000e60| 6f 63 6b 2e 73 70 43 61 | 74 65 67 6f 72 79 2c 28 |ock.spCa|tegory,(|
|00000e70| 69 6e 74 29 73 70 42 6c | 6f 63 6b 2e 73 70 43 54 |int)spBl|ock.spCT|
|00000e80| 79 70 65 2c 28 69 6e 74 | 29 73 70 42 6c 6f 63 6b |ype,(int|)spBlock|
|00000e90| 2e 73 70 44 72 76 72 53 | 57 0d 09 09 09 2c 28 69 |.spDrvrS|W....,(i|
|00000ea0| 6e 74 29 73 70 42 6c 6f | 63 6b 2e 73 70 44 72 76 |nt)spBlo|ck.spDrv|
|00000eb0| 72 48 57 2c 28 69 6e 74 | 29 73 70 42 6c 6f 63 6b |rHW,(int|)spBlock|
|00000ec0| 2e 73 70 52 65 66 4e 75 | 6d 29 3b 0d 09 09 6d 65 |.spRefNu|m);...me|
|00000ed0| 6d 63 70 79 28 66 69 6c | 65 6e 61 6d 65 2c 6e 61 |mcpy(fil|ename,na|
|00000ee0| 6d 65 2c 33 32 29 3b 0d | 09 09 2f 2a 20 66 69 6c |me,32);.|../* fil|
|00000ef0| 65 6e 61 6d 65 20 6d 75 | 73 74 20 62 65 20 74 72 |ename mu|st be tr|
|00000f00| 75 6e 63 61 74 65 64 20 | 74 6f 20 33 31 20 63 68 |uncated |to 31 ch|
|00000f10| 61 72 61 63 74 65 72 73 | 20 2a 2f 0d 09 09 69 66 |aracters| */...if|
|00000f20| 28 66 69 6c 65 6e 61 6d | 65 5b 30 5d 20 3e 20 33 |(filenam|e[0] > 3|
|00000f30| 31 29 20 66 69 6c 65 6e | 61 6d 65 5b 30 5d 3d 33 |1) filen|ame[0]=3|
|00000f40| 31 3b 0d 09 09 2f 2f 20 | 52 65 70 6c 61 63 65 20 |1;...// |Replace |
|00000f50| 6c 65 61 64 69 6e 67 20 | 22 2e 22 20 62 79 20 22 |leading |"." by "|
|00000f60| 2d 22 20 73 69 6e 63 65 | 20 74 68 65 20 4d 61 63 |-" since| the Mac|
|00000f70| 20 66 69 6c 69 6e 67 20 | 73 79 73 74 65 6d 20 0d | filing |system .|
|00000f80| 09 09 2f 2f 20 69 73 20 | 63 6f 6e 66 75 73 65 64 |..// is |confused|
|00000f90| 20 62 79 20 66 69 6c 65 | 6e 61 6d 65 73 20 62 65 | by file|names be|
|00000fa0| 67 69 6e 6e 69 6e 67 20 | 77 69 74 68 20 22 2e 22 |ginning |with "."|
|00000fb0| 2e 0d 09 09 69 66 28 66 | 69 6c 65 6e 61 6d 65 5b |....if(f|ilename[|
|00000fc0| 31 5d 3d 3d 27 2e 27 29 | 66 69 6c 65 6e 61 6d 65 |1]=='.')|filename|
|00000fd0| 5b 31 5d 3d 27 2d 27 3b | 0d 09 09 0d 09 09 2f 2a |[1]='-';|....../*|
|00000fe0| 20 67 65 74 20 68 61 6e | 64 6c 65 20 74 6f 20 64 | get han|dle to d|
|00000ff0| 65 73 69 72 65 64 20 64 | 72 69 76 65 72 20 72 65 |esired d|river re|
|00001000| 73 6f 75 72 63 65 20 2a | 2f 0d 09 09 65 72 72 6f |source *|/...erro|
|00001010| 72 20 3d 20 53 47 65 74 | 44 72 69 76 65 72 28 26 |r = SGet|Driver(&|
|00001020| 73 70 42 6c 6f 63 6b 29 | 3b 0d 09 09 69 66 28 21 |spBlock)|;...if(!|
|00001030| 65 72 72 6f 72 29 20 7b | 0d 09 09 09 68 61 6e 64 |error) {|....hand|
|00001040| 6c 65 20 3d 20 28 50 74 | 72 20 2a 29 20 73 70 42 |le = (Pt|r *) spB|
|00001050| 6c 6f 63 6b 2e 73 70 52 | 65 73 75 6c 74 3b 0d 09 |lock.spR|esult;..|
|00001060| 0d 09 09 09 2f 2f 20 49 | 73 20 74 68 69 73 20 61 |....// I|s this a|
|00001070| 20 76 69 64 65 6f 20 64 | 72 69 76 65 72 3f 0d 09 | video d|river?..|
|00001080| 09 09 76 69 64 65 6f 44 | 72 69 76 65 72 50 74 72 |..videoD|riverPtr|
|00001090| 3d 2a 28 56 69 64 65 6f | 44 72 69 76 65 72 20 2a |=*(Video|Driver *|
|000010a0| 2a 29 68 61 6e 64 6c 65 | 3b 0d 09 09 09 69 66 28 |*)handle|;....if(|
|000010b0| 45 71 75 61 6c 53 74 72 | 69 6e 67 28 6e 61 6d 65 |EqualStr|ing(name|
|000010c0| 2c 76 69 64 65 6f 44 72 | 69 76 65 72 50 74 72 2d |,videoDr|iverPtr-|
|000010d0| 3e 6e 61 6d 65 2c 31 2c | 31 29 29 7b 0d 09 09 09 |>name,1,|1)){....|
|000010e0| 09 2f 2f 20 50 72 6f 62 | 61 62 6c 79 20 69 73 20 |.// Prob|ably is |
|000010f0| 61 20 76 69 64 65 6f 20 | 64 72 69 76 65 72 2e 20 |a video |driver. |
|00001100| 54 68 65 20 76 65 72 73 | 69 6f 6e 20 6e 75 6d 62 |The vers|ion numb|
|00001110| 65 72 20 6f 66 20 61 20 | 76 69 64 65 6f 20 64 72 |er of a |video dr|
|00001120| 69 76 65 72 20 0d 09 09 | 09 09 2f 2f 20 69 73 20 |iver ...|..// is |
|00001130| 74 68 65 20 66 69 72 73 | 74 20 77 6f 72 64 2d 61 |the firs|t word-a|
|00001140| 6c 69 67 6e 65 64 20 77 | 6f 72 64 20 61 66 74 65 |ligned w|ord afte|
|00001150| 72 20 74 68 65 20 6e 61 | 6d 65 20 73 74 72 69 6e |r the na|me strin|
|00001160| 67 2e 0d 09 09 09 09 62 | 79 74 65 50 74 72 3d 20 |g......b|ytePtr= |
|00001170| 76 69 64 65 6f 44 72 69 | 76 65 72 50 74 72 2d 3e |videoDri|verPtr->|
|00001180| 6e 61 6d 65 3b 0d 09 09 | 09 09 62 79 74 65 50 74 |name;...|..bytePt|
|00001190| 72 20 2b 3d 20 31 2b 62 | 79 74 65 50 74 72 5b 30 |r += 1+b|ytePtr[0|
|000011a0| 5d 3b 09 2f 2a 20 67 6f | 20 74 6f 20 65 6e 64 20 |];./* go| to end |
|000011b0| 6f 66 20 50 61 73 63 61 | 6c 20 73 74 72 69 6e 67 |of Pasca|l string|
|000011c0| 20 2a 2f 0d 09 09 09 09 | 62 79 74 65 50 74 72 20 | */.....|bytePtr |
|000011d0| 3d 20 28 75 6e 73 69 67 | 6e 65 64 20 63 68 61 72 |= (unsig|ned char|
|000011e0| 20 2a 29 28 28 6c 6f 6e | 67 29 28 62 79 74 65 50 | *)((lon|g)(byteP|
|000011f0| 74 72 2b 31 29 20 26 20 | 7e 31 29 3b 09 2f 2f 20 |tr+1) & |~1);.// |
|00001200| 72 6f 75 6e 64 20 75 70 | 20 74 6f 20 77 6f 72 64 |round up| to word|
|00001210| 20 62 6f 75 6e 64 61 72 | 79 0d 09 09 09 09 76 65 | boundar|y.....ve|
|00001220| 72 73 69 6f 6e 20 3d 20 | 2a 28 73 68 6f 72 74 20 |rsion = |*(short |
|00001230| 2a 29 62 79 74 65 50 74 | 72 3b 0d 09 09 09 7d 20 |*)bytePt|r;....} |
|00001240| 65 6c 73 65 20 76 65 72 | 73 69 6f 6e 3d 72 61 6e |else ver|sion=ran|
|00001250| 64 28 29 3b 0d 09 09 0d | 09 09 09 41 64 64 52 65 |d();....|...AddRe|
|00001260| 73 6f 75 72 63 65 54 6f | 46 69 6c 65 28 66 69 6c |sourceTo|File(fil|
|00001270| 65 6e 61 6d 65 2c 6e 61 | 6d 65 2c 27 44 52 56 52 |ename,na|me,'DRVR|
|00001280| 27 2c 76 65 72 73 69 6f | 6e 2c 68 61 6e 64 6c 65 |',versio|n,handle|
|00001290| 29 3b 0d 09 09 09 70 72 | 69 6e 74 66 28 22 44 72 |);....pr|intf("Dr|
|000012a0| 69 76 65 72 20 63 6f 70 | 69 65 64 20 74 6f 20 66 |iver cop|ied to f|
|000012b0| 69 6c 65 20 d2 25 73 d3 | 2c 20 77 69 74 68 20 72 |ile .%s.|, with r|
|000012c0| 65 73 6f 75 72 63 65 20 | 69 64 20 25 64 5c 6e 22 |esource |id %d\n"|
|000012d0| 0d 09 09 09 09 2c 70 32 | 63 73 74 72 28 66 69 6c |.....,p2|cstr(fil|
|000012e0| 65 6e 61 6d 65 29 2c 28 | 69 6e 74 29 76 65 72 73 |ename),(|int)vers|
|000012f0| 69 6f 6e 29 3b 0d 09 09 | 09 44 69 73 70 6f 73 48 |ion);...|.DisposH|
|00001300| 61 6e 64 6c 65 28 68 61 | 6e 64 6c 65 29 3b 0d 09 |andle(ha|ndle);..|
|00001310| 09 7d 0d 09 09 65 6c 73 | 65 20 70 72 69 6e 74 66 |.}...els|e printf|
|00001320| 28 22 4e 6f 20 64 72 69 | 76 65 72 2e 5c 6e 22 29 |("No dri|ver.\n")|
|00001330| 3b 0d 09 09 70 72 69 6e | 74 66 28 22 5c 6e 22 29 |;...prin|tf("\n")|
|00001340| 3b 0d 09 7d 0d 7d 0d 0d | 00 00 00 00 00 00 00 00 |;..}.}..|........|
|00001350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001380| 00 00 01 00 00 00 01 ae | 00 00 00 ae 00 00 00 7a |........|.......z|
|00001390| 00 00 14 2d 07 42 52 45 | 4e 54 2e 43 02 00 00 00 |...-.BRE|NT.C....|
|000013a0| 54 45 58 54 4b 41 48 4c | 01 00 00 8c 00 00 00 00 |TEXTKAHL|........|
|000013b0| 11 47 72 61 62 53 6c 6f | 74 44 72 69 76 65 72 73 |.GrabSlo|tDrivers|
|000013c0| 2e 63 02 00 00 00 54 45 | 58 54 43 57 49 45 01 00 |.c....TE|XTCWIE..|
|000013d0| 00 00 54 45 58 54 43 57 | 49 45 01 00 00 3c 00 00 |..TEXTCW|IE...<..|
|000013e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013f0| 00 00 a7 6d 12 c3 00 00 | 12 c8 00 00 02 28 00 00 |...m....|.....(..|
|00001400| 00 00 0e 00 00 00 14 2d | 08 42 52 4f 59 44 4e 2e |.......-|.BROYDN.|
|00001410| 43 00 02 00 00 00 54 45 | 58 54 4b 41 48 4c 01 00 |C.....TE|XTKAHL..|
|00001420| 00 8c 00 60 00 00 00 00 | 14 59 00 00 00 00 0f e8 |...`....|.Y......|
|00001430| 00 00 26 00 00 00 00 00 | 00 00 00 00 00 00 a7 3e |..&.....|.......>|
|00001440| e0 15 a7 3e e0 15 00 00 | 00 00 00 00 00 00 00 00 |...>....|........|
|00001450| 00 00 00 00 00 00 00 00 | 00 00 00 00 70 54 00 01 |........|....pT..|
|00001460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001470| 00 00 00 00 00 00 00 00 | 0e 00 00 00 14 2d 08 42 |........|.....-.B|
|00001480| 00 00 00 0a 00 00 09 18 | 00 47 00 00 00 00 00 00 |........|.G......|
|00001490| 00 1c 00 01 00 1a 00 00 | 09 18 00 47 00 96 8b 58 |........|...G...X|
|000014a0| 00 00 0b 6e 65 77 53 6c | 6f 74 4d 67 72 20 00 00 |...newSl|otMgr ..|
|000014b0| 00 28 00 02 00 00 08 14 | 00 00 08 23 0f 47 72 61 |.(......|...#.Gra|
|000014c0| 62 53 6c 6f 74 44 72 69 | 76 65 72 73 00 00 06 2b |bSlotDri|vers...+|
|000014d0| 00 00 06 2f 05 6d 61 69 | 6e 00 00 00 00 48 00 09 |.../.mai|n....H..|
|000014e0| 4d 6f 6e 61 63 6f 00 00 | 00 00 00 00 00 00 00 00 |Monaco..|........|
|000014f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001500| 00 03 00 04 00 3e 00 04 | 01 cd 02 63 00 3e 00 04 |.....>..|...c.>..|
|00001510| 01 cd 02 63 ac 3c a3 d1 | 00 00 05 63 00 00 05 63 |...c.<..|...c...c|
|00001520| 00 00 02 84 00 00 00 00 | 00 04 00 01 00 01 00 00 |........|........|
|00001530| 01 00 00 00 01 ae 00 00 | 00 ae 00 00 00 7a 01 99 |........|.....z..|
|00001540| 5f e8 1e 7c 00 00 00 1c | 00 7a 00 03 4d 50 53 52 |_..|....|.z..MPSR|
|00001550| 00 01 00 22 42 4b 50 54 | 00 00 00 3a 44 54 56 55 |..."BKPT|...:DTVU|
|00001560| 00 00 00 46 4d 57 42 42 | 00 00 00 52 03 ef ff ff |...FMWBB|...R....|
|00001570| 00 00 00 2e 00 00 00 00 | 03 ed ff ff 00 00 00 5a |........|.......Z|
|00001580| 00 00 00 00 33 96 ff ff | 00 00 00 00 00 00 00 00 |....3...|........|
|00001590| 2c e0 ff ff 00 00 00 0e | 00 00 00 00 03 f0 ff ff |,.......|........|
|000015a0| 00 00 00 a6 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+